//
//  ImagePickerCell.h
//  Common
//
//  Created by shiqing guo on 2018/6/2.
//  Copyright © 2018年 www.bitkinetic.com. All rights reserved.
//

#import "BottomTopLineTableViewCell.h"
#import "BaseVC.h"
#import "BaseTVC.h"

typedef void(^ReturnImageUrl)(NSString *url, NSString *domain);// 上传完成后返回的路径和图片名称

@interface ImagePickerCell : BottomTopLineTableViewCell

@property (nonatomic, strong) UINavigationController *navC;
@property (nonatomic, weak) BaseVC *parentVC;
@property (nonatomic, weak) BaseTVC *parentTVC;
@property (nonatomic, copy) ReturnImageUrl returnImageUrl;
@property (nonatomic, copy) NSString *fileType;
@property (nonatomic, assign) BOOL isOriginalMap; // 是否原图

@property (nonatomic, assign) BOOL canEditImage; // 是否对照片进行编辑
@property (nonatomic, assign) BOOL isRectangle; // 裁剪区域是否为长方形 (认证使用)
@property (nonatomic, assign) BOOL isBannerImg; // 裁剪区域是否为banner图 (招募使用)

- (void)returnImage:(UIImage *)image;
- (void)refreshView;
- (void)showImageChooseActionSheet;

@end
